package com.sky.service;

import com.sky.dto.OrdersCancelDTO;
import com.sky.dto.OrdersConfirmDTO;
import com.sky.dto.OrdersRejectionDTO;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderVO;

import java.time.LocalDateTime;

/**
 * @author zcf
 */
public interface OrderService {
    void cancel(OrdersCancelDTO ordersRejectionDTO);

    PageResult conditionSearch(int page, int pageSize, String number, String beginTime, String endTime, Integer status, String phone);

    OrderStatisticsVO statistics();

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    void confirm(OrdersConfirmDTO ordersConfirmDTO);

    void complete(Long id);

    OrderVO getById(Long id);

    void delivery(Long id);
}
